package com.yanjiali.service;

import com.yanjiali.entity.SysRole;
import com.baomidou.mybatisplus.extension.service.IService;
/**
 * @Package: com.yanjiali.service
 * @Author: yanjiali
 * @Created: 2025/4/10 22:35
 * 系统角色接口
*/
public interface SysRoleService extends IService<SysRole>{

    /**
     * 判断一个用户是否是管理员
     * @param userId
     * @return
     */
    boolean isSuperAdmin(Long userId);
}
